if

This block is part of the field validation group and was last modified in core v12.0.5.

if v12.0.5

Returns a given validation based on the connected condition

In pins 3
  • true required
    fieldvalidation

    Validation to be returned if true

  • false required
    fieldvalidation

    Validation to be returned if false

  • boolean required
    condition

    The condition to be evaluated

Out pins 1
  • fieldvalidation
    fieldvalidation

A typical wiring for if: required feeds the then pin; required feeds the else pin; == feeds the condition pin; the fieldvalidation out pin feeds radio.

Studio canvas example for the if block: typical wiring for if.

Version history

Introduced in v12.0.5.


Back to field validation Return to the main group to view all sub-groups Back to validation Return to the group to view all blocks within this group